package com.bicon.botu.mall.component.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.bicon.botu.mall.component.entity.HomeFunctions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author 王开亮
 * @date 2018/2/26 15:51
 */
public interface HomeFunctionsMapper extends BaseMapper<HomeFunctions> {

    /**
     * 批量更新首页服务功能状态
     * @param serviceIdList
     * @param status
     * @return
     */
    boolean batchUpdateStatus(@Param("serviceIdList") List<String> serviceIdList,@Param("status") int status);

}
